<?php
namespace app\admin\services;
use app\common\services\BaseService;

class GameRankService extends BaseService
{

    public function __construct()
    {
        $viewName = '(select gr.*,g.title game_name from game_rank gr inner join game g on g.id=gr.game_id) t';
        parent::__construct('', $viewName);
    }
}